package com.koron.ticket.work.workteam.mapper;

import com.koron.ticket.work.workteam.bean.WorkTeam;
import com.koron.ticket.work.workteam.bean.WorkTeamQuery;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface WorkTeamMapper {
    void insert(WorkTeam workTeam);

    void batchInsert(@Param("list") List<WorkTeam> list);

    void logicDeleteByWorkTicketId(@Param("workTicketId") String workTicketId);

    List<WorkTeam> getList(WorkTeamQuery workTeamQuery);

    List<WorkTeam> queryByWorkTicketId(@Param("workTicketId")String workTicketId);

    void deleteByWorkTicketId(@Param("workTicketId") String workTicketId);
}
